package com.intellagric.service.traceability.trace_record;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.RecordMachiningVo;
import com.intellagric.pojo.TraceRecordMachining;
import com.intellagric.pojo.TraceRecordMonitor;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2019/2/25
 * @DESC： 监控数据服务接口
 */
public interface MonitorRecordService {

    //增加加工流程记录
    ResponseMessage addMonitorRecord(TraceRecordMonitor recordMonitor);

    //删除加工流程记录
    ResponseMessage deleteIMonitorRecord(String id);

    //修改加工流程记录
    ResponseMessage editMonitorRecord(TraceRecordMonitor recordMonitor);

    //查询加工流程记录
    TraceRecordMonitor getMonitorRecordById(String id);
    LayuiDataGridResult getMonitorRecordList();
    LayuiDataGridResult getMonitorRecordPage(int page, int rows);
    LayuiDataGridResult getMonitorRecordPageByVo(int page, int rows, TraceRecordMonitor recordMonitor);

}
